package database

const (
	DSqlNone = iota
	DSqlserver
	DMysql
	DOracal
	DPostgreSQL
)

func GetDBname(dbtype int) string {
	switch dbtype {
	case DSqlserver:
		return "sqlserver"
	case DMysql:
		return "mysql"
	case DOracal:
		{
			return "oracle"
		}
	case DPostgreSQL:
		{
			return "PostgreSQL"
		}
	}
	return ""

}
